<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>天籁书城首页</title>
  </head>
  <body>
    <center><h2 style="color: red;">这是首页，欢迎！</h2></center>
    <%
        String[] names = session.getValueNames();
        for(int i = 0; i < names.length; i ++)
        {
     %>
         <%=names[i] %>&nbsp;==&nbsp;<%=session.getValue(names[i]) %><br /> 
     <%
         }
     %>
  </body>
</html>